package com.me.study.service;

import com.me.study.dao.IndexDao;

/**
 * 通过 @Bean 声明 bean
 *
 * @author ME
 * @date   2019/12/21
 */
public class IndexServiceImpl2 implements IndexService {

	public IndexDao getDao() {
		return dao;
	}

	public void setDao(IndexDao dao) {
		this.dao = dao;
	}

	private IndexDao dao;

    @Override
    public void find() {
        dao.query();
    }
}
